<?php
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
 * See the file COPYRIGHT.html for more details.
 */
 
  require_once("../classes/Localize.php");
  $navLoc = new Localize(OBIB_LOCALE,"navbars");

?>
<a class="button navbutton ui-state-default ui-corner-all" style="text-transform: uppercase;" href="../shared/logout.php"><img src="../panga/images/icons/lock_go.png" alt="" />&nbsp;<?php echo $navLoc->getText("logout");?></a><br /><br />
<br />
<div id="side-nav-menu">
 <ul>
<?php if ($nav == "summary") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("adminSummary");?></a></li>
<?php } else { ?>
 <li><a href="../admin/index.php"><?php echo $navLoc->getText("adminSummary");?></a></li>
<?php } ?>

<?php if ($nav == "staff") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("adminStaff");?></a></li>
<?php } else { ?>
 <li><a href="../admin/staff_list.php"><?php echo $navLoc->getText("adminStaff");?></a></li>
<?php } ?>

<?php if ($nav == "settings") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("adminSettings");?></a></li>
<?php } else { ?>
 <li><a href="../admin/settings_edit_form.php?reset=Y"><?php echo $navLoc->getText("adminSettings");?></a></li>
<?php } ?>

<?php if ($nav == "classifications") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("Member Types");?></a></li>
<?php } else { ?>
 <li><a href="../admin/mbr_classify_list.php"><?php echo $navLoc->getText("Member Types");?></a></li>
<?php } ?>

<?php if ($nav == "member_fields") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("Member Fields");?></a></li>
<?php } else { ?>
 <li><a href="../admin/member_fields_list.php"><?php echo $navLoc->getText("Member Fields ");?></a></li>
<?php } ?>

<?php if ($nav == "materials") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("adminMaterialTypes");?></a></li>
<?php } else { ?>
 <li><a href="../admin/materials_list.php"><?php echo $navLoc->getText("adminMaterialTypes");?></a></li>
<?php } ?>

<?php if ($nav == "collections") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("adminCollections");?></a></li>
<?php } else { ?>
 <li><a href="../admin/collections_list.php"><?php echo $navLoc->getText("adminCollections");?></a></li>
<?php } ?>

<?php if ($nav == "checkout_privs") { ?>
 <li class="side-nav-on"><a href="#"><?php echo $navLoc->getText("Checkout Privs");?></a></li>
<?php } else { ?>
 <li><a href="../admin/checkout_privs_list.php"><?php echo $navLoc->getText("Checkout Privs");?></a></li>
<?php } ?>
</ul>
</div>
<!--
<a href="javascript:popSecondary('../shared/help.php<?php if (isset($helpPage)) echo "?page=".H(addslashes(U($helpPage))); ?>')"><?php echo $navLoc->getText("help");?></a>
-->
